INCLUDE_DIRECTORIES(${LIBABF_INCLUDE_DIR})

SET(ABFTOOL_INCLUDE_DIR  ${CMAKE_CURRENT_SOURCE_DIR}/tests/src/)
SET(abftool_SRCS
  src/tool.c
)

INCLUDE_DIRECTORIES(${LIBABF_INCLUDE_DIR} ${LIBXML2_INCLUDE_PATH})

ADD_EXECUTABLE(abf-tool ${abftool_SRCS})
TARGET_LINK_LIBRARIES(abf-tool -labf ${ZLIB_LIBRARIES} ${LIBXML2_LIBRARIES})

INSTALL(PROGRAMS abf-tool DESTINATION bin)
